import request from '@/config/axios'

export interface StatV0 {
  datasetNum: number,
  promptNum: number,
  modelNum: number,
  datasetTypeNum: number,
  indicateNum: number,
  evaluateNum: number,
}

// 首页 API
export const StatApi = {
  // 查询数字统计
  getNumStat: async () => {
    return await request.get({ url: `multiModel/stat/num-stat` })
  },

  getLevel1DatasetStat: async () => {
    return await request.get({ url: `/multiModel/stat/level1-dataset-stat` })
  },

  // 查询数据集类型
  getDatasetStat: async (params) => {
    return await request.get({ url: `/multiModel/stat/dataset-stat`, params })
  }
 
}
